package com.ngu.biz.notepad.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author HSJ
 * @since 2020-03-01
 */
@TableName("ngu_notepad")
public class NguNotepadEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键自增
     */
    @TableId(value = "N_ID", type = IdType.AUTO)
    private Long nId;

    /**
     * 用户id
     */
    @TableField("N_USER_ID")
    private Long nUserId;

    /**
     * 记事本标题
     */
    @TableField("N_TITLE")
    private String nTitle;

    /**
     * 记事本内容
     */
    @TableField("N_CONTENT")
    private String nContent;

    /**
     * 创建时间
     */
    @TableField("N_CREATE_TIME")
    private String nCreateTime;

    /**
     * 修改时间
     */
    @TableField("N_UPDATE_TIME")
    private String nUpdateTime;

    public Long getnId() {
        return nId;
    }

    public void setnId(Long nId) {
        this.nId = nId;
    }
    public Long getnUserId() {
        return nUserId;
    }

    public void setnUserId(Long nUserId) {
        this.nUserId = nUserId;
    }
    public String getnTitle() {
        return nTitle;
    }

    public void setnTitle(String nTitle) {
        this.nTitle = nTitle;
    }
    public String getnContent() {
        return nContent;
    }

    public void setnContent(String nContent) {
        this.nContent = nContent;
    }
    public String getnCreateTime() {
        return nCreateTime;
    }

    public void setnCreateTime(String nCreateTime) {
        this.nCreateTime = nCreateTime;
    }
    public String getnUpdateTime() {
        return nUpdateTime;
    }

    public void setnUpdateTime(String nUpdateTime) {
        this.nUpdateTime = nUpdateTime;
    }

    @Override
    public String toString() {
        return "NguNotepadEntity{" +
        "nId=" + nId +
        ", nUserId=" + nUserId +
        ", nTitle=" + nTitle +
        ", nContent=" + nContent +
        ", nCreateTime=" + nCreateTime +
        ", nUpdateTime=" + nUpdateTime +
        "}";
    }
}
